/* now declare (and allocate space for) some kernel objects,
   like the two threads we will use */
cyg_thread thread_s[2];		/* space for two thread objects */

char stack[2][4096];		/* space for two 4K stacks */

/* now the handles for the threads */
cyg_handle_t monitor_t, serial_read_t;

/* and now variables for the procedure which is the thread */
cyg_thread_entry_t monitor, serial_read;

/* and now a mutex to protect calls to the C library */
cyg_mutex_t cliblock;
